/**
 * Project Name:wwe
 * File Name:User.java
 * Package Name:pers.billson.wwe.entity
 * Date:2017年4月4日下午7:09:08
 * Copyright ©2017, billson0618@163.com All Rights Reserved.
 *
*/

package pers.billson.wwe.user.entity;

import java.util.Date;

/**
 * Discription: 用户实体 <br/>
 *
 * @author Billson
 * @date 2017年4月4日 下午7:09:08
 */
public class User {

	private long id;
	private String nikeName;
	private String realName;
	private Integer sex;// 性别（0 保密，1 男，2 女）
	private Date createTime;
	private Date updateTime;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getNikeName() {
		return nikeName;
	}

	public void setNikeName(String nikeName) {
		this.nikeName = nikeName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", nikeName=" + nikeName + ", realName=" + realName + ", sex=" + sex + ", createTime="
				+ createTime + ", updateTime=" + updateTime + "]";
	}
}
